package com.wangyk.thymeleafproject.service.impl;

import com.wangyk.rabbitmqcommon.model.project.Order;
import com.wangyk.thymeleafproject.dao.OrderMapper;
import com.wangyk.thymeleafproject.service.OrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class OrderServiceImpl implements OrderService
{
    @Resource
    private OrderMapper orderMapper;

    public Order selectByPrimaryKey(Integer orderId)
    {
        return orderMapper.selectByPrimaryKey(orderId);
    }
}
